package com.smart.domain;

import java.io.Serializable;
import java.util.Date;

public class Lesson implements Serializable {
    private String name;
    private Date startTime;
    private Date stopTime ;
    private String nickName;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getStopTime() {
        return stopTime;
    }

    public void setStopTime(Date stopTime) {
        this.stopTime = stopTime;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    @Override
    public String toString() {
        return "Lesson{" +
                "name='" + name + '\'' +
                ", startTime=" + startTime +
                ", stopTime=" + stopTime +
                ", nickName='" + nickName + '\'' +
                '}';
    }
}
